<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
	$("input[name=id]").focus();

	var container1 = $("div#lay_error_container1");
	var submitted="";
	$("form[name=login_form]").validate({
		errorContainer: ".error_container",
		errorLabelContainer: ".error_container dl",
		errorClass: "login_error",
		wrapper: "dd",
		showErrors: function(errorMap, errorList) {
			if(submitted)
			{
				alert(errorList[0].message);
				submitted = false;
			}
		},
		invalidHandler: function(form, validator) {
			submitted = true;
		}
	});
});
//]]>
</script>


  <table width="1146" border="0" cellspacing="0" cellpadding="0" style="background:url(./images/login/login_title_bg.gif) no-repeat left top;">
	<tr>
	   <td align="center" valign="top" style="padding-top:90px;">
		  <table width="679" border="0" cellspacing="0" cellpadding="0">
			 <tr>
				<td><img src="./images/login/login_main_title.gif" /></td>
			 </tr>
			 <tr>
				<td><img src="./images/login/login_form01.gif" /></td>
			 </tr>
			 <tr>
				<td align="left" valign="top" style="background:url(./images/login/login_form02.gif) no-repeat left bottom; height:200px; padding-top:17px;">
				   <form name="login_form" action="<?=$_SERVER['PHP_SELF']?>" method="post" >
				   <input type="hidden" name="g_job" value="<?=$g_job?>" />
				   <input type="hidden" name="g_subjob" value="login" />
				   <table width="599" border="0" cellspacing="0" cellpadding="0">
					  <tr>
						 <td width="240">&nbsp;</td>
						 <td width="94" height="31" valign="middle"><strong>사용자 ID</strong></td>
						 <td width="192" valign="middle">
							<input name="id" class="required login_form" type="text" id="id" maxlength="16" title="아이디를 입력해주세요." />
						 </td>
						 <td width="73" rowspan="2">
						   <input type="image" src="./images/login/login_btn.gif" /> </td>
					  </tr>
					  <tr>
						 <td width="240">&nbsp;</td>
						 <td width="94" height="31" valign="middle"><strong>비밀번호</strong></td>
						 <td width="192" valign="bottom">
							<input name="pw" class="required login_form" type="password" id="pw" maxlength="16" title="비밀번호를 입력하세요." />
						 </td>
					  </tr>
					  <tr>
						<td width="240">&nbsp;</td>
						<td colspan="2">
						<div id="lay_error_container1" class="error_container">
							<ol>
								<li>에러 메세지!!</li>
							</ol>
						</div>
						</td>
					  </tr>
				   </table>
				   </form>
				   <table width="599" border="0" cellspacing="0" cellpadding="0" class="login_check">
					  <tr>
						 <td height="110" align="center" valign="bottom" style="padding-bottom:7px;color:#ffffff;font-weight:bold">Copyright ⓒ 2013 NEXTEZ. All Rights Reserved.</td>
					  </tr>
				   </table>
				</td>
			 </tr>
		  </table>
		</td>
	</tr>
 </table>

